home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Microsoft Visual Basic .NET
/
Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin
/
01 getting started with net
/
firstconsoleapp
/
module1.vb
< prev
Wrap
Text File
|
2001-09-10
|
332b
|
15 lines
Module Module1
Sub Main()
Dim username As String
' Ask for user name.
Console.Write("Enter your name: ")
username = Console.ReadLine()
' Say hi and tell current time.
Console.WriteLine("Hello, {0}. Current time is {1}", username, Now)
End Sub
End Module